package com.cslg.yougou.front.mapper;

import com.cslg.yougou.front.entity.ShopCar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cslg.yougou.front.pojo.ShopCarPojo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2020-11-07
 */
public interface ShopCarMapper extends BaseMapper<ShopCar> {
//    获取购物车
    List<ShopCarPojo> selectshopcarByMd5Id(String md5token);
//    购物车商品增加
    int addShopcarByMd5(int shopcarid);
//    购物车商品减少
    int subShopcarByMd5(int shopcarid);


}
